package com.koo.modules.base.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author charlin
 * @email 136137465@qq.com
 * @date 2022-12-19 15:44:46
 */
@Data
@ApiModel()
@TableName("base_dict")
public class BaseDictEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ExcelIgnore
    @TableId
    private Long dictId;

    @ColumnWidth(11)
    @ExcelProperty("字典码")
    @ApiModelProperty(value = "字典码")
    private String code;

    @ColumnWidth(11)
    @ExcelProperty("字典名称")
    @ApiModelProperty(value = "字典名称")
    private String name;


}
